package com.itheima.core.service;

import com.itheima.common.utils.Page;
import com.itheima.core.po.Customer;

/**
 * 
 * @author Yancy
 *
 */
public interface CustomerService {
	//查询客户列表
	public Page<Customer> findCustomerList(Integer page,Integer rows,
			String custName,String custSource,String custIndustry,String custLevel);
	//创建客户
	public int ctrateCustomer(Customer customer);
	// 通过id查询客户
	public Customer getCustomerById(Integer id);
	// 更新客户
	public int updateCustomer(Customer customer);
	// 删除客户
	public int deleteCustomer(Integer id);
}
